package com.example.service;

import com.demo.utils.ResponseResult;
import com.example.dto.QueryDTO;
import com.example.pojo.SysMenu;

import java.util.List;

public interface MenuService {

     List<SysMenu> findMenu(QueryDTO queryDTO);

     ResponseResult deleteMenu(List<Long> ids);

     ResponseResult selectMenu();

     ResponseResult saveMenu(SysMenu sysMenu);

     ResponseResult findMenuById(Long menuId);

     ResponseResult updateMenu(SysMenu sysMenu);

     List<String> findPermsByUserId(Long userId);

     ResponseResult findUserMenu(Long userId);

}
